//
//  Adaptor.StatusBar.swift
//  Adaptor
//
//  Created by 蒋晨成 on 2021/12/23.
//

import UIKit

public extension Adaptor { enum StatusBar {} }

public extension Adaptor.StatusBar {
    static func height(for window: UIWindow?) -> CGFloat {
        window?.windowScene?.statusBarManager?.statusBarFrame.height ?? 0
    }
}
